import sys

from PyQt5.QtWidgets import QApplication

from gui import KFrame
import ksig

if __name__ == '__main__': 
    # 主线程，显示Gui窗口
    app = QApplication(sys.argv)
    ksig.mainwin_signal()
    # thread_kiv = Mode_Kiv("./test.xml")

    kiv_main = KFrame("./test.xml")
    kiv_main.run()

    sys.exit(app.exec_())
